Dynamic VDU is a collection of animated dynamic monitors, That will show a range of alertness form no alert - all is green to full alert - were most is red
Any number of effects can be placed on one texture.The Colours for the effects are also custom definable
Set-up
Follow the steps below to use in any game.Select the base prefab: From the folder Assets\eWolf\eWolfDynamicVDU\Prefabs\ Select the size of the texture you wish to use (this can be changed any time later) Drag it in to the scene and place it where you need it.Define the effect: In the Inspector, use the Effect drop download list to select the effect from the list.Define the size: Use the Rect setting to define the size as a percentage of the image. a width of 1 is the full width of the texture, 0.5 is half the width. And you can tick Apply Border if you want to have a border around the effect.Extra Effects: If you wish to have more than one effect per texture, Increase the Size and repeat the previous two steps. However many times you like.Colour and speed: You can update the colours used for the textures. You can change the speed of the effect by updating the Interval
How To Use In Your Own Games
After inporting the package in to your unity Project.Added the prefab of the resolution you wish to use (32,64,128,256) Resize and roation the panel to set where it appearsRunning the game will show the basic default DMUNow to update the displayNow add two more elements to this section.Set the interval as 10Then set all 3 elements as shown hereAnd in game you can see the 3 panels.
Update Effects In Game
Updating the effect at runtimeYou can change the Alert value at run time by using thego.SendMessage(MonitorDefines.UpdateAlertMessage, newAlert);You can pause and un-pause the effect withgo.SendMessage(MonitorDefines.SetPauseMessage, true);Andgo.SendMessage(MonitorDefines.SetPauseMessage, false);You can find UpdateAlerts.cs as an example of the above code.
More Examples
Version 1.2
This version is now using PNG and not JpgsAnd updated to use Unity 2021.3.16f1
Version 1.3
No changes, only meta images and Documentation updated.
Support
If you need any more help please email us at Contact@electricWolf.co.uk